package com.ant.storage.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2023-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("reimburse_detail")
@ApiModel(value="ReimburseDetail对象", description="")
public class ReimburseDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父级id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "类型id")
    @TableField("type_id")
    private Integer typeId;

    @ApiModelProperty(value = "项目名称")
    @TableField("project_name")
    private String projectName;

    @ApiModelProperty(value = "单位")
    @TableField("project_unit")
    private String projectUnit;

    @ApiModelProperty(value = "数量")
    @TableField("project_amount")
    private String projectAmount;

    @ApiModelProperty(value = "金额")
    @TableField("project_price")
    private BigDecimal projectPrice;

    @ApiModelProperty(value = "附件")
    @TableField("project_annex")
    private String projectAnnex;

    @ApiModelProperty(value = "备注")
    @TableField("project_notes")
    private String projectNotes;


    @ApiModelProperty(value = "附件")
    @TableField(exist = false)
    private List<PurchaserRecordImg> imgList;

}
